package cn.kgc.crowdfundingadminspringboot.service;


import cn.kgc.crowdfundingadminspringboot.pojo.T_admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdminService {

    //根据id查询用户
    public T_admin selectById(Integer id);

    public T_admin login(String loginAcct, String userPswd);

    PageInfo<T_admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);

    public void batchRemove(List<Integer> adminIdList);

    public void saveAdmin(T_admin admin);

    public T_admin getAdminById(Integer adminId);

    public void updateAdmin(T_admin admin);
}

